Documentation txt-Files

There are various txt-Files which have in some way an effect on in-game settings are can help you at solving errors at your Mod. It is worth to take note of them since most of them are rarely getting any attention by modders.Take note that this section is still a lot work in progress!

games_variables.txt

Create full list of all available settings

Cannot add variables in game_variables.txt, cmpxchg8b, Modding Q&A

There are also a couple of game options which didn't make it into 1.168(Steam version) by default. Compare also with WFaS and VC and create new file, _Sebastian_, Warband Modder's Download Repository

rgl_log.txt

semi-crash log, Ikaguia, Modding Q&A. Need to explain it more detailed

how to use rgl log to debug the game, kalarhan, Modding VC: basic tutorials and Q&A thread

rgl_log.txt is in your installation directory (one level above your Modules folder, for instance). (C:\Program Files\Mount&Blade Warband\ or something like it)

Four default warnings in Native in rgl-log, Caba`drin, Modding Q&A, could perhaps correct the warnings in a new MS version.

rgl_config.txt

Write down what it does

rgl_config.txt is in your savegame/settings directory. (C:\Users\Username\Documents\Mount&Blade Warband\ or something like it)

variables.txt

Global variable names are not getting used by the game engine, variables.txt is not even getting loaded by the engine and its only purpose is savegame compatibility. If you check the compiling system of the Module System you will notice that it preserves the order in variables.txt, to make sure that variable x stays in position y even if the declaration order is changed or variables have been added or removed, to keep savegame compatibility.[1]

It can happen that you compile and keep getting the messages "variables.txt not found. Creating new variables.txt file" and "variable_uses.txt not found. Creating new variable_uses.txt file}" even though these txt files exist in your compile export folder. This is only a problem if you care about save game compatibility. Copy in that case working copies from your module folder to your source folder (same as the . py files). Otherwise the globals won't keep the same ID and mess with old saves.[2]

variable_uses.txt

variable_uses.txt is a file which doesn't matter a lot. It is there to keep savegame compatibility and is auto-generated by the Module System, used during the compilation phase and then no more. Warband doesn't know about it. Editing it by hand is wrong and does nothing at all.[3]

integrate comment here, kalarhan, Modding Q&A

another remark, cmpxchg8b, Modding Q&A